<template>
	<view class="ss-flex-col gap-24">
		<view v-if="label || allNumber" class="ss-flex">
			<view v-if="label" class="font-w-500 fs-28">{{ label }}</view>
			<view class="ss-m-l-24 fc-dark9" v-if="allNumber">总：{{ allNumber }}</view>
		</view>
		<view class="ss-flex gap-24">
			<slot></slot>
		</view>
	</view>
</template>

<script setup>
	const props = defineProps({
		label: {
			type: String,
			default: '',
		},
		allNumber:{
			type: [Number,String],
			default: 0,
		}
	})
</script>

<style>
</style>